Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support jest snapshot matchers with snapshot name #25

Merged
merged 5 commits into from
Feb 19, 2025

Conversation

sparten11740
Copy link
Contributor

@sparten11740 sparten11740 commented Feb 17, 2025

Add support for passing a name to jest's snapshot matchers, e.g. expect(obj).toMatchSnapshot('some snapshot name').

Fixes #22

@sparten11740 sparten11740 merged commit ad63b5e into main Feb 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jest extended snapshot matchers don't work with snapshot name
2 participants